package com.dstz.bpm.api.engine.data.result;

import com.dstz.bpm.api.model.inst.IBpmInstance;
import io.swagger.annotations.ApiModelProperty;

public class BpmFlowInstanceData extends BpmFlowData {
   @ApiModelProperty("流程实例信息")
   private IBpmInstance instance;

   public IBpmInstance getInstance() {
      return this.instance;
   }

   public void setInstance(IBpmInstance instance) {
      this.instance = instance;
      this.defId = instance.getDefId();
   }
}
